package com.yin.bank.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("bank_oprecord")
public class Oprecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long aid;
    private Double opmoney;
    private Double charge;
    private LocalDateTime optime;
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAid() {
        return aid;
    }

    public void setAid(Long aid) {
        this.aid = aid;
    }

    public Double getOpmoney() {
        return opmoney;
    }

    public void setOpmoney(Double opmoney) {
        this.opmoney = opmoney;
    }

    public Double getCharge() {
        return charge;
    }

    public void setCharge(Double charge) {
        this.charge = charge;
    }

    public LocalDateTime getOptime() {
        return optime;
    }

    public void setOptime(LocalDateTime optime) {
        this.optime = optime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Oprecord{" +
                "id=" + id +
                ", aid=" + aid +
                ", opmoney=" + opmoney +
                ", charge=" + charge +
                ", opTime=" + optime +
                ", remark='" + remark + '\'' +
                '}';
    }
}
